package com.music.muisc.dao;

import com.music.muisc.entity.Forum;
import com.music.muisc.entity.Music;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ForumRepository extends CrudRepository<Forum, Integer> {

    @Override
     List<Forum> findAll();

    Forum findByBlogId(int theId);
}
